package com.yc.cloud.common.oauth.wechat.dto.request;


import com.yc.cloud.common.basic.enums.EnumValue;
import com.yc.cloud.common.oauth.wechat.enums.WxGrantTypeEnums;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class WxBarCodeCreateParam {

    @ApiModelProperty(value = "授权类型,1->小程序 2->服务号 3->公众号", required = true)
    @EnumValue(enumClass = WxGrantTypeEnums.class, message = "不合法")
    private String grantType;

}
